﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UploadConfig.aspx.cs" Inherits="sysadmin_webconfig_UploadConfig" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Upload上传配置</title>
<link href="../../css/default.css" type="text/css" rel="stylesheet" />
    <link href="../../js/Validata.js" type="text/javascript" />
    <style type="text/css">
.{
    font-size:12px
 }
</style>

    <script language="javascript">
    function validata()
    {    
        if(GetObjectByID(document,'txtVirtualName').innerText == "")
        {
            alert("请输入虚拟目录名称!");
            return false;
        }
        return true;         
    }
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" class="colorbg">
            <tr>
                <th>
                    <img src="../../images/dh.gif" alt="导航图片" width="18" height="18" /></th>
                <td>
                    您的位置:后台管理 &gt; 虚拟目录管理 &gt; 添加虚拟目录</td>
            </tr>
        </table>
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="talbe-rearch">
            <tr>
                <td colspan="4" class="left10px">
                    虚拟目录基础信息</td>
            </tr>
            <tr>
                <th>
                    虚拟目录名称</th>
                <td>
                    <asp:TextBox ID="txtVirtualName" runat="server"></asp:TextBox>
                </td>
                <th>
                    虚拟目录路径</th>
                <td>
                    <asp:TextBox ID="txtVirtualPath" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    流媒体服务器IP</th>
                <td>
                    <asp:TextBox ID="txtVMSIP" runat="server"></asp:TextBox>
                </td>
                <th>
                    流媒体发布点名称</th>
                <td>
                    <asp:TextBox ID="txtVMSName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="4" class="left10px">
                    虚拟目录对应的FTP服务器信息</td>
            </tr>
            <tr>
                <th>
                    FTP登录帐户名称</th>
                <td>
                    <asp:TextBox ID="txtFTPUserName" runat="server"></asp:TextBox>
                </td>
                <th>
                    FTP登录帐户密码</th>
                <td>
                    <asp:TextBox ID="txtFTPPassword" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th nowrap="nowrap">
                    FTP服务器开放端口号</th>
                <td colspan="3">
                    <asp:TextBox ID="txtFTPPort" runat="server">21</asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="4" class="tdbutton">
                    <asp:Button ID="btnSave" runat="server" Text=" 保 存 " CssClass="mybuttons" OnClientClick="return validata()"
                        OnClick="btnSave_Click" />&nbsp;&nbsp;
                    </td>
            </tr>
        </table>
    </form>
</body>
</html>
